package com.tanhua.dubbo.api.mongo;


import com.tanhua.domain.mongo.UserLocation;
import com.tanhua.vo.UserLocationVo;

import java.util.List;

public interface UserLocationApi {
    public void save(Long userId, Double longitude, Double latitude, String addrStr);

    List<UserLocationVo> search(Long userId, Integer distance);
}
